/*     */ package my.rummyInterface;
/*     */ 
/*     */ import java.awt.Color;
/*     */ import java.awt.Dimension;
/*     */ import java.awt.Font;
/*     */ import java.awt.GridLayout;
/*     */ import javax.swing.BorderFactory;
/*     */ import javax.swing.JLabel;
/*     */ import javax.swing.JPanel;
/*     */ import javax.swing.JTextField;
/*     */ import javax.swing.border.TitledBorder;
/*     */ 
/*     */ public class PanelQuienParte extends JPanel
/*     */ {
/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
/*     */   private JTextField txtMano6;
/*     */   private JTextField txtMano7;
/*     */   private JTextField txtMano8;
/*     */   private JTextField txtMano9;
/*     */   private JTextField txtMano10;
/*     */   private JTextField txtMano11;
/*     */   private JTextField txtMano12;
/*     */   private JTextField txtMano13;
/*     */   private JTextField txtMano14;
/*     */   private JTextField txtMano15;
/*     */   private JTextField txtMano16;
/*     */ 
/*     */   public PanelQuienParte()
/*     */   {
/*  43 */     setLayout(new GridLayout(14, 1));
/*     */ 
/*  46 */     TitledBorder borde = BorderFactory.createTitledBorder("Quien Parte");
/*  47 */     borde.setTitleColor(Color.BLUE);
/*  48 */     borde.setTitleFont(new Font("Arial", 1, 12));
/*  49 */     borde.setTitleJustification(2);
/*  50 */     borde.setBorder(BorderFactory.createEmptyBorder());
/*  51 */     setBorder(borde);
/*  52 */     setPreferredSize(new Dimension(85, 0));
/*     */ 
/*  55 */     this.txtMano6 = new JTextField();
/*  56 */     this.txtMano6.setBackground(Color.WHITE);
/*  57 */     this.txtMano6.setHorizontalAlignment(0);
/*  58 */     this.txtMano6.setEditable(false);
/*  59 */     add(this.txtMano6);
/*     */ 
/*  61 */     this.txtMano7 = new JTextField();
/*  62 */     this.txtMano7.setHorizontalAlignment(0);
/*  63 */     this.txtMano7.setEditable(false);
/*  64 */     add(this.txtMano7);
/*     */ 
/*  66 */     this.txtMano8 = new JTextField();
/*  67 */     this.txtMano8.setHorizontalAlignment(0);
/*  68 */     this.txtMano8.setEditable(false);
/*  69 */     add(this.txtMano8);
/*     */ 
/*  71 */     this.txtMano9 = new JTextField();
/*  72 */     this.txtMano9.setHorizontalAlignment(0);
/*  73 */     this.txtMano9.setEditable(false);
/*  74 */     add(this.txtMano9);
/*     */ 
/*  76 */     this.txtMano10 = new JTextField();
/*  77 */     this.txtMano10.setHorizontalAlignment(0);
/*  78 */     this.txtMano10.setEditable(false);
/*  79 */     add(this.txtMano10);
/*     */ 
/*  81 */     this.txtMano11 = new JTextField();
/*  82 */     this.txtMano11.setHorizontalAlignment(0);
/*  83 */     this.txtMano11.setEditable(false);
/*  84 */     add(this.txtMano11);
/*     */ 
/*  86 */     this.txtMano12 = new JTextField();
/*  87 */     this.txtMano12.setHorizontalAlignment(0);
/*  88 */     this.txtMano12.setEditable(false);
/*  89 */     add(this.txtMano12);
/*     */ 
/*  91 */     this.txtMano13 = new JTextField();
/*  92 */     this.txtMano13.setHorizontalAlignment(0);
/*  93 */     this.txtMano13.setEditable(false);
/*  94 */     add(this.txtMano13);
/*     */ 
/*  96 */     this.txtMano14 = new JTextField();
/*  97 */     this.txtMano14.setHorizontalAlignment(0);
/*  98 */     this.txtMano14.setEditable(false);
/*  99 */     add(this.txtMano14);
/*     */ 
/* 101 */     this.txtMano15 = new JTextField();
/* 102 */     this.txtMano15.setHorizontalAlignment(0);
/* 103 */     this.txtMano15.setEditable(false);
/* 104 */     add(this.txtMano15);
/*     */ 
/* 106 */     this.txtMano16 = new JTextField();
/* 107 */     this.txtMano16.setHorizontalAlignment(0);
/* 108 */     this.txtMano16.setEditable(false);
/* 109 */     add(this.txtMano16);
/*     */ 
/* 111 */     JLabel label = new JLabel("Total:");
/* 112 */     label.setHorizontalAlignment(4);
/* 113 */     add(label);
/* 114 */     label = new JLabel();
/* 115 */     add(label);
/* 116 */     add(label);
/*     */   }
/*     */ 
/*     */   public void definirQuienParte(String[] parte)
/*     */   {
/* 123 */     this.txtMano6.setText(parte[0]);
/* 124 */     this.txtMano7.setText(parte[1]);
/* 125 */     this.txtMano8.setText(parte[2]);
/* 126 */     this.txtMano9.setText(parte[3]);
/* 127 */     this.txtMano10.setText(parte[4]);
/* 128 */     this.txtMano11.setText(parte[5]);
/* 129 */     this.txtMano12.setText(parte[6]);
/* 130 */     this.txtMano13.setText(parte[7]);
/* 131 */     this.txtMano14.setText(parte[8]);
/* 132 */     this.txtMano15.setText(parte[9]);
/* 133 */     this.txtMano16.setText(parte[10]);
/*     */   }
/*     */ }

/* Location:           C:\Users\Yank\Documents\APO\Rummy\bin\
 * Qualified Name:     my.rummyInterface.PanelQuienParte
 * JD-Core Version:    0.6.0
 */